{include file="common/header"}
<link rel="stylesheet" href="__CSS__/view.css">
</head>
<body>
    <!-- 1908080121李定邦、1902030115李龙烽 -->
    <div style="background-color: #fff;">
        {include file="common/top"}
        <div class="sreach-center">
            <div class="sreach-center1">
                <a href=""></a><img src="__PIC__/thinkphp-login.png" alt="">
            </div>
            <div class="sreach-center-top">
                <div class="sreach-center2">
                    <ul>推荐</ul>
                        <div class="sreach-center2-1">
                            <ul>最新</ul> 
                        </div>
                    <ul>精华</ul>
                </div>
                <div class="sreach-center3">
                    <div class="sreach-center3-1">
                        <!-- <ul>我要发言</ul>  -->
                        <a href="{:url('index/post',['sid'=>input('sid')])}">
                            <input type="button" style="color: white;" value="我要发言" />
                        </a>
                    </div>
                </div>
            </div>
            <div class="sreach-center-center" >
                <div class="sreach-center4">
                    {volist name='mes' id='mesRow'}
                    <div style="display: flex;">
                        <div class="sreach-center4-1">
                            <img src="__POT__/{$mesRow.u_img}" alt="">
                        </div>
                        <div class="sreach-center4-2">
                            <div class="sreach-center4-3">
                                <ul style="color: green;">{$mesRow.m_unick}</ul>
                                <ul style="color: grey;margin-left: -30px;">{$mesRow.m_createat|date='Y-n-j H:i'}</ul> 
                            </div>
                            <div class="sreach-center4-4">
                                <img src="__PIC__/mmchong.png" alt="">
                                <p>{$mesRow.s_name}</p>
                            </div>
                        </div>
                    </div>
                        <div class="sreach-center-4-5">
                            <p>{$mesRow.m_title}</p>
                            <p>{$mesRow.m_content}</p>
<!--                            <p>-->
<!--                                tp5.1框架LTS版本，模型连接阿里云数据库DRDS（分布式关系数据库服务）时，在文件夹thinkPHP->library->think->db->connector->Mysql.php文件中的第90行左右$sql='SHOW COLUMNS FROM'.$tableName;会报错 因为DRDS并不支持SHOW COLUMNS语句。-->
<!--                            </p>-->
                        </div>
                        <div class="sreach-center-4-6">
                            <ul><img src="__PIC__/xiangqing.png" alt="">
                                <a href="{:url('index/detail',['mid' => $mesRow.m_id])}">详情</a>
                            </ul>
                            <ul><img src="__PIC__/zan.png" alt="">3</ul>
                            <ul><img src="__PIC__/pinglun.png" alt="">{$mesRow.num}</ul>
                        </div>
                            <!-- <div class="sreach-center-4-7">
                                <div class="sreach-center4-1">
                                    <a href=""></a><img src="__PIC__/touxiang.png" alt=""> 
                                </div>
                                <div class="sreach-center4-2">
                                    <div class="sreach-center4-3">
                                        <ul style="color: green;">用户2103010235</ul>
                                        <ul style="color: grey;margin-left: -30px;">3天前</ul> 
                                    </div>
                                        <div class="sreach-center-4-8">
                                            <ul>
                                                &nbsp&nbsp&nbsp&nbsp最终我使用了原生sql语句解决我的场景问题，框架本身的花还是没有解决，希望对你们有帮助吧。
                                            </ul>
                                        </div>
                                        <div class="sreach-center-4-9">
                                            <ul><img src="__PIC__/zan.png" alt="">赞</ul>
                                            <ul><img src="__PIC__/pinglun.png" alt="">回复</ul>
                                        </div>
                                        <div class="sreach-center-4-10">
                                            <ul>查看更多评论></ul>
                                        </div>
                                </div>
                                
                            </div> -->
                    {/volist}
                </div>
                
                <div class="sreach-center11" >
                    <div style="border-bottom: 2px solid black;width: 321px;height: 30px;">
                        <ul style="font-size: 20px;margin-top: 12px;">热门话题</ul>
                    </div>
                    {volist name='sec' id='secRow'}
                    <a href="{:url('index/view' , ['sid' => $secRow.s_id])}">
                        <div class="sreach-center4-11">
                            <img src="__PIC__/xmmc.png" alt="">
                            <ul>{$secRow.s_name}</ul>
                        </div>
                        <div class="sreach-center-12">
                            <ul>{$secRow.count}个相关帖子</ul>
                        </div>
                    </a>
                    {/volist}
                    <!-- <li>{$page}</li> -->
                    <li>{$page | raw}</li>
                    <!-- <div class="sreach-center4-11">
                        <a href=""></a><img src="__PIC__/xqq.png" alt="">
                        <ul>我有一个想法</ul>
                    </div>
                    <div class="sreach-center-12">
                        <ul>124个相关帖子</ul>
                    </div>
                    <div class="sreach-center4-11">
                        <a href=""></a><img src="__PIC__/xlb.png" alt="">
                        <ul>我有产品要分享</ul>
                    </div>
                    <div class="sreach-center-12">
                        <ul>224个相关帖子</ul>
                    </div>
                    <div class="sreach-center4-11">
                        <a href=""></a><img src="__PIC__/xls.png" alt="">
                        <ul>这个扩展很奈斯</ul>
                    </div>
                    <div class="sreach-center-12">
                        <ul>314个相关帖子</ul>
                    </div>
                    <div class="sreach-center4-11">
                        <a href=""></a><img src="__PIC__/xhj.png" alt="">
                        <ul>社区反馈意见</ul>
                    </div>
                    <div class="sreach-center-12">
                        <ul>104个相关帖子</ul>
                    </div> -->
                    <div class="sreach-center13" style="background-color: white;margin-top: 25px;border-radius: 5px;height: 180px;">
                        <div class="sreach-center14">
                            <div style="display: flex;border-bottom: 2px solid black;width: 90%;height: 40px;">
                                <ul style="margin-left: -10px;font-size: 20px;margin-top: 12px;height: 10px;">最新博客</ul>
                                <div style="margin-left: 100px;">
                                    <ul style="font-size: 14px;color:grey;">全部</ul>
                                </div>
                            </div>
                            <div class="sreach-center4-14">
                                <ul>ThinkPHP6.1.2版本发布----兼容PHP8.2</ul>
                            </div>
                            <div class="sreach-center4-15">
                                <ul>2023年02月10日</ul>
                            </div>
                            <div class="sreach-center4-14">
                                <ul>ThinkAPI人脸核身接口----助力网站...</ul>
                            </div>
                            <div class="sreach-center4-15">
                                <ul>2023年03月10日</ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
                
        </div>    
    </div>
</body>
</html>